﻿using UnityEngine;

public class ActionType
{
    public const int Close = 0;
    public const int Shake = 1;
    public const int Open = 2;
    public const int Glance = 3;
    public const int LookByMySelf = 4;
    public const int Challenge = 5;
    public const int Chat = 6;

    public static string GetDes(int vActionType)
    {
        switch (vActionType)
        {
            case ActionType.Close:
                return "'盖上了'";
            case ActionType.Shake:
                return "'摇了'";
            case ActionType.Open:
                return "'开了'";
            case ActionType.Glance:
                return "'偷瞄了'";
            case ActionType.LookByMySelf:
                return "'看了'";
            case ActionType.Challenge:
                return "喊:";
            case ActionType.Chat:
                return "说:";
            default:
                Debug.LogError("unhandle type:" + vActionType);
                return vActionType.ToString();
        }
    }
} 